<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>


  export default {
    name: 'App',
    components: {
    },
    created() {
      let users = JSON.parse(sessionStorage.getItem('userInfo'))
      this.$store.commit('initUserInfo',users)

    }
  }
</script>

<style>
  body{
    /* 设置背景渐变 */
    background-image: linear-gradient(to left,
    #9c88ff,#3cadeb);
  }
</style>
